package com.weyoung.common.model.dto.app;

import jakarta.validation.constraints.Min;
import jakarta.validation.constraints.NotBlank;
import jakarta.validation.constraints.NotNull;
import lombok.Data;

@Data
public class GenerationQueryDTO {
    
    @NotBlank(message = "家族ID不能为空")
    private String familyId;
    
    @NotNull(message = "世代数不能为空")
    @Min(value = 1, message = "世代数必须大于等于1")
    private Integer generation;
} 